wayland: Reduce warning level for parentless temporaries
authorMatthias Clasen <mclasen@redhat.com>
Sun, 31 Jan 2016 01:56:17 +0000 (20:56 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 31 Jan 2016 01:56:17 +0000 (20:56 -0500)
Temp windows without parent are used frequently in our testsuite;
using g_warning on them causes the tests to fail, which is not
useful. Reduce the warning to a g_message.

gdk/wayland/gdkwindow-wayland.c

index 8e74ef4f46c89500dbb39272e60df1c8f201fe0a..db199caf0deecbc7af0e136451b5d93d71061c03 100644 (file)
@@ -1288,7 +1288,7 @@ should_map_as_popup (GdkWindow *window)
             return TRUE;
         }
       else
-        g_warning ("Window %p is a temporary window without parent, "
+        g_message ("Window %p is a temporary window without parent, "
                    "application will not be able to position it on screen.",
                    window);
     }